package com.example.android;

import android.app.Activity;
import android.os.Bundle;
import android.view.ViewGroup.LayoutParams;
import android.widget.LinearLayout;
import android.widget.TextView;

public class ExemploScrollView extends Activity {
	
	public void onCreate(Bundle b) {
		super.onCreate(b);
		//setContentView(R.layout.exemploscrollview);
		//LinearLayout layout = (LinearLayout) findViewById(R.id.layout1);
		for( int i = 0; i <= 400; i++) {
			TextView tv = new TextView(this);
			tv.setLayoutParams(new LayoutParams(LayoutParams.WRAP_CONTENT,LayoutParams.WRAP_CONTENT));
			tv.setText("Texto "+i);
		//	layout.addView(tv);	
		}
	}
}
